package com.moorror.codegenvel.view.window.codegen.view;

import com.intellij.openapi.project.Project;
import com.moorror.codegenvel.tab.MRTabWrap;
import lombok.Getter;

import javax.swing.*;

/**
 * @Author jiyanghuang
 * @Date 2025/8/24 16:52
 */
public class TabWrapTabCodeGenSceneSQL extends MRTabWrap {

    @Getter
    private TabCodeGenSceneSQL tabCodeGenSceneSQL;

    public TabWrapTabCodeGenSceneSQL(Project project, int index, String title, JTabbedPane tabbedPane, TabCodeGenSceneSQL tabCodeGenSceneSQL) {
        super(project, index, title, tabbedPane, tabCodeGenSceneSQL, true);
        this.tabCodeGenSceneSQL = tabCodeGenSceneSQL;
    }

    @Override
    public void fetchValue() {
        tabCodeGenSceneSQL.fetchFromPanel();
    }
}
